<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Di Manager</title>
    <style>
        * {
            margin: 0;
            padding: 0px;
            font-family: 'Avenir', Helvetica, Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            color: white;
            font-size: 16px;
        }

        body {
            background: #333;
        }
        .main {
            min-height: 300px;
            min-width: 400px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-top: 1px solid rgba(255, 255, 255, 0.3);
        }
        .app-logo {
            width: 100px;
            height: 100px;
            border-radius: 8px;
        }
        .app-logo:hover {
            /*font-size: 16px;*/
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0px 1px 5px 5px white;

            animation-name: like-or-download;
            animation-duration: 0.6s;
            animation-timing-function: ease-in-out;
            animation-iteration-count: 1;
        }

        .app-logo:active {
            animation-name: like-or-download;
            animation-duration: 1s;
            animation-timing-function: linear;
            animation-iteration-count: 1;
        }

        @keyframes like-or-download {
            0% {}

            /*25% {*/
            /*  transform: rotate(90deg);*/
            /*}*/

            /*50% {*/
            /*  transform: rotate(180deg);*/
            /*}*/

            /*75% {*/
            /*  transform: rotate(270deg);*/
            /*}*/

            to {
                transform: rotate(360deg);
            }
        }
        .app-download {
            text-align: center;
            margin-top: 16px;
            color: #009966;
            padding: 6px;
            border: 1px solid #8E8E8E;
            border-radius: 6px;
            font-size: 14px;
            display: inline-block;
            margin-bottom: 16px;
            outline: none;
        }
        .app-download:hover {
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0px 1px 5px 5px white;
        }
        .app-download:active {
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0px 1px 5px 5px green;
            color: white;
        }
    </style>
</head>
<body>
    <div style="text-align: center;margin-top: 16px;margin-bottom: 16px">
        <span style="font-weight: bold; color: #009966">DiManager</span>, 一个Mac桌面壁纸App
    </div>
    <div class="main">
        <div>
            <img src="/images/logo-512.png" class="app-logo" alt="DiManager">
        </div>
    </div>
    <div style="text-align: center">
        <div class="app-download" style="position: relative; left: 4px" id="downloadAppId">下载 App</div>
        <div class="app-download" style="position: relative; left: 16px" id="helpBtn">怎么使用</div>
    </div>
    <script type="text/javascript" src="js/popup.js"></script>
</body>
</html>
